package com.starlink.model.dtomapper;

import com.starlink.model.domain.SchoolbagGroupBagBooksDO;
import com.starlink.model.request.SchoolbagGroupBagBooksRequest;
import com.starlink.model.vo.SchoolbagGroupBagBooksVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author zhanghong
 */
@Mapper(componentModel = "spring")
public interface SchoolbagGroupBagBooksDtoMapper {

    SchoolbagGroupBagBooksDtoMapper INSTANCE = Mappers.getMapper(SchoolbagGroupBagBooksDtoMapper.class);

    /**
    * DO to VO
    * @param schoolbagGroupBagBooksDO
    * @return
    */
    SchoolbagGroupBagBooksVO do2VO(SchoolbagGroupBagBooksDO schoolbagGroupBagBooksDO);

    /**
     * request to DO
     * @param request
     * @return
     */
    SchoolbagGroupBagBooksDO request2DO(SchoolbagGroupBagBooksRequest request);
}
